package Song.Han.Demo05;

public class ZuoYe {
    public static void main(String[] args) {

        //”thethirdexerciseneedsprogramming“
        String text = "ESPESTCOPIPCNTDPYPPODACZRCLXXTYR";
        char[] c1 = text.toCharArray();
        int[] c2 = new int[32];
        int[] c3 = new int[32];

        for (int i = 0; i < c1.length; i++) {
            c2[i] = (int)c1[i] - 65;
            System.out.println(c2[i]);
        }
        for (int i = 0; i < 26; i++) {
            for (int j = 0; j < c2.length; j++) {
                c3[j] = (c2[j] + i) % 26 + 97;
                System.out.print((char)c3[j]);
            }
            System.out.println();
        }
    }
}
